package com.rush.manageepac.dao;

import com.rush.manageepac.entity.CommunityPeople;
import com.rush.manageepac.entity.MaterialType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 于zH
 * @data 2022/8/29 9:03
 */
public interface MaterialTypeDao {
    int save(MaterialType materialType);

    int delete(int id);

    int update(MaterialType materialType);

    long selectCount(String name);

    List<MaterialType> selectPage(@Param("name") String name,@Param("start") int start,@Param("size") int size);

    List<MaterialType> selectAll();
}
